
function ChangeColor(x) {
    let title = document.querySelector(".autitle");
    let nav = document.querySelector(".aunav");
    let context = document.querySelector(".context");
    let foot = document.querySelector("#foot");
    if (x == 1){
        title.style.setProperty("--titleColor2","#ffc937");
        nav.style.setProperty("--red2","#ffea67");
        context.style.setProperty("--contextColor","#fffcb1");
        foot.style.setProperty("--footColor","#ffea67");
    }
    if (x == 2){
        title.style.setProperty("--titleColor2","#52baff");
        nav.style.setProperty("--red2","#5ef6ff");
        context.style.setProperty("--contextColor","#8fffd1");
        foot.style.setProperty("--footColor","#52baff");
    }
    if (x == 3){
        title.style.setProperty("--titleColor2","#ff4a77");
        nav.style.setProperty("--red2","#ff7ba0");
        context.style.setProperty("--contextColor","#ffb8ed");
        foot.style.setProperty("--footColor","#ff7ba0");
    }

}
// function Bluening() {
//     let title = document.querySelector("#autitle");
//     let nav = document.querySelector(".aunav");
//     let context = document.querySelector(".context");
//     title.style.backgroundImage = "none";
//     title.style.backgroundColor = "var(--titleColor2)";
//     // nav.style.backgroundImage = "none";
//     // nav.style.backgroundColor = "var(--red2)";
//     // context.style.setProperty("--contextColor","#ff76cf");
// }
// function Yellowing() {
//     let title = document.querySelector("#autitle");
//     let nav = document.querySelector(".aunav");
//     let context = document.querySelector(".context");
//     title.style.backgroundImage = "none";
//     title.style.backgroundColor = "var(--titleColor2)";
//     nav.style.backgroundImage = "none";
//     nav.style.backgroundColor = "var(--red2)";
//     context.style.setProperty("--contextColor","#ff76cf");
// }